package cn.tangsihai.hrm.mapper;

import cn.tangsihai.hrm.domain.VipUser;
import com.baomidou.mybatisplus.mapper.BaseMapper;

import javax.validation.constraints.NotEmpty;

/**
 * <p>
 * 会员登录账号 Mapper 接口
 * </p>
 *
 * @author sihai.tang
 * @since 2021-12-02
 */
public interface VipUserMapper extends BaseMapper<VipUser> {

    // 根据手机号查询数据
    VipUser selectByPhone(@NotEmpty(message = "手机号不能为空") String mobile);
}
